package com.ujiuye.dao;

import com.ujiuye.domain.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface IUserMapper {
    void save(User user);

    List<User> findUser(User user);

    @Select("select * from user where name = #{name}")
    User getByUserName(String name);
}
